Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Output JSON code sample from Docs API #46

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

asrivas
Copy link
Contributor

@asrivas asrivas commented Aug 12, 2019

// Listen for sign-in state changes.
gapi.auth2.getAuthInstance().isSignedIn.listen(updateSigninStatus);

// Handle the initial sign-in state.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indent is wrong.

*/
function initClient() {
gapi.client.init({
apiKey: API_KEY,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indent is wrong.

*/
function updateSigninStatus(isSignedIn) {
if (isSignedIn) {
authorizeButton.style.display = 'none';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More indent issues.

*/
function printDocBody() {
gapi.client.docs.documents.get({
documentId: 'DOCUMENT_ID'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto

@erickoledadevrel
Copy link

Also fix lint errors.

@qiliiiliiiiliiiliq
Copy link

Delete ssh please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants